package com.xjoyt.pay.master.dao;

import java.util.List;

import com.xjoyt.pay.dto.PageParam;
import com.xjoyt.pay.dto.PageResult;
import com.xjoyt.pay.master.params.MerchantPageParam;
import com.xjoyt.pay.master.po.Merchant;

public interface MerchantRepositoryCustom {

	PageResult<Merchant> loadPage(PageParam<MerchantPageParam> param);

	Merchant findOneByNo(String no);

	Long getLastNo();

	Merchant findOneByDistributorIdAndOutNo(String distributorId, String outNo);

	List<Merchant> findAllByCompanyIdIn(String companyId);
}
